import { HashRouter as Router, Route, Routes } from 'react-router-dom';
import WelcomePage from '../pages/welcome';
import LoginPage from '../pages/login';
import HomePage from '../pages/home';
import RegisterPage from '../pages/register';
import ScenicdetailsPage from '../pages/scenicdetails';
import SuborderPage from '../pages/suborder';
import BuypayPage from '../pages/buypay';
import SuccesspayPage from '../pages/successpay';
import SuccesTicketsPage from '../pages/tickets';
import PhotoAlbumPage from '../pages/photoAlbum';
import MapPage from '../pages/map';
import MapsPage from '../pages/maps';
import ActivePage from '../pages/active';
import GamePage from '../pages/game';
import StrategyPage from '../pages/strategy';
import ScenicnamePage from '../pages/scenicname';
import StrategysPage from '../pages/strategys';
import IssuePage from '../pages/issue';
import RankingPage from '../pages/ranking';
import MinePage from '../pages/mine';
import OrderDetailsPage from '../pages/orderDetails';
import OrderPagePage from '../pages/orderPage';
import BrowsePage from '../pages/browse';
import PerformPage from '../pages/perform';
import SearchPage from '../pages/search';
import IntruducePage from '../pages/intruduce';
import CodePage from '../pages/code';
import PrizePage from '../pages/prize';

import AwardItemPage from '../pages/awardItem';
import QuestionsDetailsPage from '../pages/questionsDetails';
const AppRoutes = () => {
    return (
        <Router>
            <Routes>
                <Route path="/" element={<WelcomePage />} />
                <Route path="/login" element={<LoginPage />} />
                <Route path="/register" element={<RegisterPage />} />
                <Route path="/home" element={<HomePage />} />
                <Route path="/scenicdetails" element={<ScenicdetailsPage/>} />
                <Route path="/suborder" element={<SuborderPage/>} />
                <Route path="/buypay" element={<BuypayPage/>} />
                <Route path="/successpay" element={<SuccesspayPage/>} />
                <Route path="/tickets" element={<SuccesTicketsPage/>} />
                <Route path="/photoAlbum" element={<PhotoAlbumPage/>} />
                <Route path="/map" element={<MapPage/>} />
                <Route path="/maps" element={<MapsPage/>} />
                <Route path="/active" element={<ActivePage/>} />
                <Route path="/game" element={<GamePage/>} />
                <Route path="/strategy" element={<StrategyPage/>} />
                <Route path="/strategys" element={<StrategysPage/>} />
                <Route path="/scenicname" element={<ScenicnamePage/>} />
                <Route path="/issue" element={<IssuePage/>} />
                <Route path="/ranking" element={<RankingPage/>} />
                <Route path="/mine" element={<MinePage/>} />
                <Route path="/orderPage" element={<OrderPagePage/>} />
                <Route path="/orderDetails" element={<OrderDetailsPage/>} />
                <Route path="/browse" element={<BrowsePage/>} />
                <Route path="/perform" element={<PerformPage/>} />
                <Route path="/search" element={<SearchPage/>} />
                <Route path="/intruduce" element={<IntruducePage/>} />
                <Route path="/code" element={<CodePage/>} />
                <Route path="/awardItem" element={<AwardItemPage/>} />
                <Route path="/questionsDetails" element={<QuestionsDetailsPage/>} />
                <Route path="/prize" element={<PrizePage/>} />
            </Routes>
        </Router>
    );
};

export default AppRoutes;
